import os, sys, re, time, gzip
import simplejson as json
import urllib, urllib2, httplib
from BeautifulSoup import BeautifulSoup
from urlparse import urlparse, urlsplit
import StringIO
import mimetypes, mimetools
from ConfigParser import ConfigParser
import JobScraper
from Jobs import Job



class CareerBuilderScraper(JobScraper.JobScraper):
    def __init__(self, cfgFile):
	super(CareerBuilderScraper, self).__init__(cfgFile, "http://www.careerbuilder.com/", "https://www.careerbuilder.com/share/login.aspx")




def main(cfgPath="./conf/jobscraper.cfg"):
    careerbuilderObj = CareerBuilderScraper(cfgPath)
    print careerbuilderObj.currentPageContent



if __name__ == "__main__":
    main()

